<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>module-nvidia-current</Name>
        <Homepage>http://www.nvidia.com</Homepage>
        <Packager>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Packager>
        <License>NVIDIA</License>
        <Summary>NVIDIA drivers for GeForce 6xxx and newer GPUs</Summary>
        <Description>NVIDIA graphics drivers provide optimized 2D/3D performance.</Description>
        <Archive sha1sum="7ec5ee96ec61faae1c20177c32aa79ad2296c253" type="binary">http://download.nvidia.com/XFree86/Linux-x86/387.34/NVIDIA-Linux-x86-387.34.run</Archive>
        <Archive sha1sum="6ebb8a3992d93642c30684abc03cae7bb82ca220" type="binary">http://download.nvidia.com/XFree86/Linux-x86_64/387.34/NVIDIA-Linux-x86_64-387.34.run</Archive>
        <BuildDependencies>
            <Dependency version="4.9.75">kernel-module-headers</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>gtk3-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>module-nvidia-current</Name>
        <IsA>driver</IsA>
        <Summary>Kernel module for current NVIDIA graphics driver releases</Summary>
        <RuntimeDependencies>
            <Dependency version="4.9.75">kernel</Dependency>
<!--             <Dependency release="current">module-nvidia-current-userspace</Dependency> -->
        </RuntimeDependencies>
        <Files>
            <Path fileType="library" permanent="true">/lib/modules</Path>
            <Path fileType="data">/etc/modprobe.d</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/modprobe.d/blacklist-nouveau.conf">modprobe.conf</AdditionalFile>
        </AdditionalFiles>
        <BuildFlags>
            <Flag>noDelta</Flag>
        </BuildFlags>
    </Package>

    <!--<Package>
        <Name>module-nvidia-current-userspace</Name>
        <IsA>data</IsA>
        <Summary>Modprobe rules for nvidia-current kernel driver</Summary>
        <Files>
            <Path fileType="data">/etc/modprobe.d</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/modprobe.d/blacklist-nouveau.conf">modprobe.conf</AdditionalFile>
        </AdditionalFiles>
    </Package>-->

    <Package>
        <Name>nvidia-settings</Name>
        <IsA>app:gui</IsA>
        <PartOf>hardware.graphics</PartOf>
        <Summary>Settings for nvidia-current kernel driver</Summary>
        <RuntimeDependencies>
            <Dependency>atk</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>gtk3</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency version="current">module-nvidia-current</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/nvidia-settings</Path>
            <Path fileType="man">/usr/share/man/man1/nvidia-settings.1</Path>
            <Path fileType="library">/usr/lib/libnvidia-gtk*</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
            <Path fileType="data">/usr/share/nvidia</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/nvidia-settings.desktop">nvidia-settings.desktop</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>nvidia-xconfig</Name>
        <IsA>app:console</IsA>
        <PartOf>hardware.graphics</PartOf>
        <Summary>Xconfig file for nvidia-current kernel driver</Summary>
        <RuntimeDependencies>
            <Dependency version="current">module-nvidia-current</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/nvidia-xconfig</Path>
            <Path fileType="man">/usr/share/man/man1/nvidia-xconfig.1</Path>
        </Files>
    </Package>

    <Package>
        <Name>xorg-video-nvidia-current</Name>
        <IsA>driver</IsA>
        <PartOf>x11.driver</PartOf>
        <RuntimeDependencies>
            <Dependency>libXext</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>mesa</Dependency>
            <Dependency>xorg-server</Dependency>
            <Dependency version="current">module-nvidia-current</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/etc/OpenCL</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/X11</Path>
            <Path fileType="data">/usr/share/nvidia-current</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
        <Provides>
            <COMAR script="package.py">System.Package</COMAR>
        </Provides>
        <BuildFlags>
            <Flag>noDelta</Flag>
        </BuildFlags>
    </Package>

    <Package>
        <Name>xorg-video-nvidia-current-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for xorg-video-nvidia-current</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>libvdpau-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency>zlib-32bit</Dependency>
            <Dependency>mesa-32bit</Dependency>
            <Dependency>libX11-32bit</Dependency>
            <Dependency>libXext-32bit</Dependency>
            <Dependency release="current">xorg-video-nvidia-current</Dependency>
            <Dependency>atk</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>gtk3</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
            <Path fileType="library">/usr/share/nvidia-current/32bit-ld.so.conf</Path>
        </Files>
        <Provides>
            <COMAR script="package-emul32.py">System.Package</COMAR>
        </Provides>
        <BuildFlags>
            <Flag>noDelta</Flag>
        </BuildFlags>
    </Package>

    <History>
        <Update release="14">
            <Date>2018-01-06</Date>
            <Version>387.34</Version>
            <Comment>Rebuild for new kernel</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="13">
            <Date>2017-12-20</Date>
            <Version>387.34</Version>
            <Comment>Rebuild for new kernel.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2017-12-06</Date>
            <Version>387.34</Version>
            <Comment>Version Bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2017-11-23</Date>
            <Version>384.59</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2017-08-22</Date>
            <Version>384.59</Version>
            <Comment>Version Bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="10">
            <Date>2017-07-08</Date>
            <Version>381.22</Version>
            <Comment>Version Bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="9">
            <Date>2017-03-11</Date>
            <Version>378.13</Version>
            <Comment>Version Bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="8">
            <Date>2017-01-31</Date>
            <Version>375.26</Version>
            <Comment>Version Bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="7">
            <Date>2016-12-11</Date>
            <Version>375.20</Version>
            <Comment>Version Bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="6">
            <Date>2016-11-05</Date>
            <Version>375.10</Version>
            <Comment>Version Bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2016-08-28</Date>
            <Version>370.23</Version>
            <Comment>Version Bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-08-06</Date>
            <Version>367.27</Version>
            <Comment>Rebuild for kernel4.7.0</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-04-30</Date>
            <Version>367.27</Version>
            <Comment>Rebuild for new kernel, ver. bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-30</Date>
            <Version>361.28</Version>
            <Comment>Rebuild for new kernel</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-06</Date>
            <Version>361.28</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
